package com.tubi.Myvolatile1;

public class MyThread1  extends  Thread  {

    @Override
    public void run() {
        while (true){
            synchronized (Money.lock){
                if(Money.money != 100000){
                    System.out.println("结婚基金不是10万");
                    break;
                }
            }
        }
    }
}
